package com.cloud.pole.user.service;

import com.cloud.pole.api.user.BaseUserApi;

public interface AuthService {

	public BaseUserApi userTokenLogin(String token) throws Exception;
	
	public BaseUserApi login(String userName, String userPwd, String openId) throws Exception;
	
	public String refresh(String oldToken) throws Exception;
	
    public boolean validate(String token) throws Exception;
    
    public BaseUserApi smsLogin(String mobile, String mobileArea, String verifyCode, String openId) throws Exception;
    
    public BaseUserApi wxLogin(String opendId) throws Exception;
    
    public BaseUserApi wxUserBind(String mobile,String  mobileArea, String openId, Integer userType);
}
